<template>
 <div>
  <tr>
   <td><input type="number" name="" id="" :value="obj.count" @input="$emit('add', $event.target.value)" /></td>
   <td>{{ obj.goodsName }}</td>
   <td v-show="!obj.count">已售空</td>
  </tr>
 </div>
</template>

<script>
export default {
 data() {
  return {}
 },
 methods: {},
 components: {},
 computed: {},
 watch: {},
 created() {},
 props: {
  obj: {
   type: Object,
   required: true
  }
 }
}
</script>

<style scoped></style>
